#!/usr/bin/env bash

H5FILE=be.4.6bohr.pwscf.h5
URL=http://qmctutorials.googlecode.com/files/$H5FILE

if [ -e $H5FILE ]; then
  echo 'Found', $H5FILE
else
  echo 'wget' $URL
  if wget -q "$URL"; then
    echo 'Success'
  else
    echo 'wget is not found. Download the file from ', $URL
  fi
fi

